<?php session_start(); include('includes/check.php'); check_login(1); $skin = getskin($shopid); ?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>!!!ADMIN AREA!!!</title>
<meta name="robots" content="index,follow">
<link rel="stylesheet" href="stylesheet.css" /> <!-- Admin Panel Stylesheet -->
<script language="JavaScript" type="text/javascript" src="js/ajax_search.js"></script><!-- Aion Section -->
<script src="http://static.yg.com/js/exsyndication.js" type="text/javascript"></script>  
<!-- Load jQuery -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
	google.load("jquery", "1");
</script>

<!-- Load TinyMCE -->
<script type="text/javascript" src="js/tinymce/jscripts/tiny_mce/jquery.tinymce.js"></script>
<script type="text/javascript">
	$().ready(function() {
		$('textarea.tinymce').tinymce({
			// Location of TinyMCE script
			script_url : 'js/tinymce/jscripts/tiny_mce/tiny_mce.js',
		theme : "advanced",
		plugins : "emotions,iespell",
			theme_advanced_toolbar_location : "top",
			theme_advanced_toolbar_align : "left",
			theme_advanced_statusbar_location : "bottom",
			theme_advanced_resizing : false,
		});
	});
</script>
<!-- /TinyMCE -->

<link href="assets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">
</head>
<body>

<div id="admin_header">
    
    <div id="admin_title"><a href="index.php"><h1>ADMINISTRATION</h1></a></div>
    
    <div id='logout'><a href='../index.php'>Home</a> | <a href='logout.php'>Logout (<?=$_SESSION['username'];?>)</a></div>

</div>
<div id="nav">
  <ul id="MenuBar1" class="MenuBarHorizontal">
    <li><a href="index.php">Main</a></li>
    <li><a href="manage_news.php">Edit News</a></li>
    <li><a href="user_edit.php">Edit Users</a></li>
    <li><a href="manage_shop.php">Edit Shop</a></li>
  </ul>
</div>
<div id="admin_main">
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"../includes/libs/SpryMenuBarDownHover.gif", imgRight:"../includes/libs/SpryMenuBarRightHover.gif"});
</script>
